<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/14
 * Time: 16:36
 */
$oesrm_id = $route->bodyParams["oesrm_id"];//主键ID

//更新条件
$whereArr = [
    "oesrm_id" => $oesrm_id
];

$updateArr = deleteArrData($whereArr,$route->bodyParams);

//执行写入语句
$rsData = $db->mysqlDB->update("oa_enterprise_structure_role_middle",$whereArr,$updateArr);

//返回成功结果
$response->responseData( true, $rsData );